<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h2>主页</h2>
<?php if(is_array($lists)): $i = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$row): $mod = ($i % 2 );++$i;?><li><a href="/thinkphp/Home/Index/myread/?id=<?php echo ($row["id"]); ?>"><?php echo ($row["title"]); ?></a> <a href="/thinkphp/Home/Index/modify/?id=<?php echo ($row["id"]); ?>">修改</a> <a href="/thinkphp/Home/Index/delete/?id=<?php echo ($row["id"]); ?>">删除</a></li><?php endforeach; endif; else: echo "" ;endif; ?>
<div>
    <?php echo ($pager->show()); ?>
</div>
</body>
</html>